package com.ec.core.annotation;

/**
 * <p>Title: ec</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008 7</p>
 *
 * <p>Company: ec</p>
 *
 * @author pgf
 * @version 1.0
 */
import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;

@Target({ElementType.METHOD,ElementType.CONSTRUCTOR})
@Retention(RetentionPolicy.RUNTIME)
public @interface Field {
    String name();
    boolean pk() default false;
    boolean readonly() default false;
}
